using AutoMapper;
using ProductionManage.Models.Products;
using wangyaxin.Models;
using wangyaxin.Wang.Dto;
using wangyaxin.Wyx.Dto;

namespace wangyaxin.Web;

public class wangyaxinWebAutoMapperProfile : Profile
{
    public wangyaxinWebAutoMapperProfile()
    {
        //Define your object mappings here, for the Web project
        CreateMap<WangModel, WangDto>();
        CreateMap<WangUser, WangUserDTO>();
        CreateMap<WangUserDTO, WangUser>();
        CreateMap<Product, ProductDto>();

        CreateMap<Product, CreateProductDto>();
    }
}
